package com.cn.xiaonuo.slbfinances.shopassets.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cn.xiaonuo.slbfinances.shopassets.entity.SlMerchantAssets;
import com.cn.xiaonuo.slbfinances.shopassets.entity.SlShopWallet;
import com.cn.xiaonuo.slbfinances.slborders.entity.SlShopWalletOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SlShopWalletMapper extends BaseMapper<SlShopWallet> {

    SlMerchantAssets todayStoreBalance(@Param("ownerId") Integer ownerId);

    SlMerchantAssets todayExpenditureAmount(@Param("ownerId") Integer ownerId,@Param("createTime") String createTime);

    Integer updateRemit(SlShopWalletOrder walletOrder);
}
